package com.pojo;


import com.auto.annotation.AutoCode;
import com.auto.annotation.Column;
import com.auto.annotation.MyFunction;
import com.auto.annotation.Table;

import java.io.Serializable;

/**
 * 中间数据
 */
@AutoCode(isOverride = false, showWay = "list")
@Table(name = "PD_MIDDATA@YEAR")
@MyFunction(autoInitFromAccess=true,copyLastYearData=false,treeSort=false,importData = false)
public class MidData implements Serializable{


	private static final long serialVersionUID = -2652728170379550658L;

	@Column(flag = "primary",jsname = "单位编号",jswidth = 150)
	private String companyid;
	@Column(flag = "primary",treeId=true,autoGenneral=true,treecolumn=true,jsname="编号",jswidth=150,jsAllowBlank=false,jsValidator=true,keyWordFilte=true)
	private String id;
	@Column(type="int",jsname = "部门或个人",jswidth = 150)
	private int deptorper;
	@Column(type="int",jsname = "月份",jswidth = 150)
	private int month;
	@Column(type="decimal(18,6)",jsname = "数据",jswidth = 150)
	private String data;
	@Column(type="varchar(2000)",jsname = "过程数据",jswidth = 150)
	private String process;


	//===========================GETTER && SETTER====================//

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getDeptorper() {
		return deptorper;
	}

	public void setDeptorper(int deptorper) {
		this.deptorper = deptorper;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getProcess() {
		return process;
	}

	public void setProcess(String process) {
		this.process = process;
	}
}
